package cn.edu.ecut.se2024.model.contracts_management;

public class Contract {
    private int contractId;
    private String contractNumber;
    private String contractName;
    private String supplier;
    private double contractAmount;
    private String contractStatus;

    // Constructors
    public Contract() {}

    public Contract(String contractNumber, String contractName, String supplier, double contractAmount, String contractStatus) {
        this.contractNumber = contractNumber;
        this.contractName = contractName;
        this.supplier = supplier;
        this.contractAmount = contractAmount;
        this.contractStatus = contractStatus;
    }

    // Getters and setters
    public int getContractId() {
        return contractId;
    }

    public void setContractId(int contractId) {
        this.contractId = contractId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public double getContractAmount() {
        return contractAmount;
    }

    public void setContractAmount(double contractAmount) {
        this.contractAmount = contractAmount;
    }

    public String getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(String contractStatus) {
        this.contractStatus = contractStatus;
    }
}